package cn.kgc.mybatis;

import cn.kgc.entity.User;
import cn.kgc.service.UserService;
import cn.kgc.service.impl.UserServiceImpl;

import java.util.List;

/**
 * @author 课工场
 * @date 2024/6/27
 * @description
 */
public class TestUserService {

    private static UserService userService = new UserServiceImpl();

    public static void main(String[] args) {

        List<User> users = userService.userList();
        users.forEach(System.out::println);


    }
}
